package com.boco.ibssystem.common.result.support;

import com.boco.ibssystem.common.result.AbstractResult;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class FailtureResult extends AbstractResult {

    private FailtureResult(){

    }

    public static FailtureResult failture(int code,String url,String params,String message){
        FailtureResult result=new FailtureResult();
        result.setUrl(url);
        result.setParams(params);
        result.setCode(code);
        result.setMessage(message);
        return result;
    }

    private String url;

    private String params;

}
